/**
 * Created by cuppi on 2017/6/29.
 */
class ImageTool{
    static base64FromImageData(image){
        var base64Img = new Buffer(image).toString('base64');
        return base64Img;
    }
}

module.exports = ImageTool;